package cloud.maque.querylist.dal.grpc.interfaces;

import cloud.maque.querylist.dal.domain.entity.Room;
import cloud.maque.querylist.dal.grpc.conf.GrpcAnnotationValue;
import cloud.maque.framework.grpc.annotation.AutoGrpcService;

import java.util.List;

/**
 * @author zhuyf
 * @date 2022/6/30 9:14
 * @dubbo
 */

@AutoGrpcService(server = GrpcAnnotationValue.class)
public interface RoomRpcService {

    Room roomAdd(Room room);

    Boolean roomDelete(String roomId);

    List<Room> roomList();

    Room roomEdit(Room room);

}
